<template>
  <div class="hot">
    <ul class="Navigation">
      <li
        class="lump"
        v-for="item in lists"
        :key="item.id"
        @click="gopage(item.id)"
      >
        <router-link tag="div" class="lumpA" to="">
          {{ item.text }}
        </router-link>
      </li>
    </ul>
  </div>
</template>

<script>
export default {
    data(){
        return{
            lists: [
        {
          id: 0,
          text: "时装秀",
        },
        {
          id: 1,
          text: "奢侈品秀",
        },
        {
          id: 2,
          text: "爱情论坛",
        },
        {
          id: 3,
          text: "缘分匹配",
        },
        {
          id: 4,
          text: "情感频道",
        },
        {
          id: 5,
          text: "地图交友",
        },
        {
          id: 6,
          text: "精选话题",
        },
        {
          id: 7,
          text: "游戏友约",
        },
      ],

        }
    },

      methods: {
    gopage(id) {
      if (id == 0) {
        this.$router.push("/Latest");
      } else if (id == 1) {
        this.$router.push("/j5-6");
      } else if (id == 2) {
        this.$router.push("/Find/LoveDetail");
      } else if (id == 3) {
        this.$router.push("/Find/LoveDetail");
      }
    },
  },
};
</script>

<style>
.Navigation {
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding: 0;
  margin: 10px 0;
}
.lump {
  width: 25%;
  display: flex;
  font-size: 16px;
  margin-top: 10px;
  justify-content: center;
  justify-items: center;
}
.lumpA {
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50px;
  background-color: antiquewhite;
}
</style>